using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Collections;
using System.Collections.Generic;
namespace Kunlun.Models
{
      public class Product_library
      {
         [Key]  
         [DisplayName(" ")] 
         public int ID { get; set; }
         [Required(ErrorMessage = "产品图库名称不能空")]  
         [DisplayName("产品图库名称")] 
         public string Name { get; set; }
         [DisplayName("描述")] 
         public string Description { get; set; }
         [Required(ErrorMessage = "是否可用不能空")]  
         [DisplayName("是否可用")] 
         public bool IsVisible { get; set; }
         [Required(ErrorMessage = "创建时间不能空")]  
         [DisplayName("创建时间")] 
         public DateTime BeginDate { get; set; }
         [DisplayName("最后修改时间")] 
         public DateTime LastUpdateTime { get; set; }
         [DisplayName("link to Accounts_users")] 
         public int Mid { get; set; }
         [DisplayName(" ")] 
         public string pid { get; set; }
         [Required(ErrorMessage = "产品图库使用状态不能空")]  
         [DisplayName("产品图库使用状态")] 
         public int status { get; set; }
         } 
} 
